<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta content="all" name="robots" />
<meta name="author" content="" />
<meta name="Copyright" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<title>jquery社区简易分享插件 soShare 1.0</title>
<link type="text/css" rel="stylesheet" media="all" href="css/style.css" />
</head>
<body>
<div class="wrapper">
	<h1>jquery社区简易分享插件 soShare 1.0</h1>

<!-- soShare -->
	<div class="allIntro">
		<h2 class="h2-title">soShare 参数 <strong class="orange">（分享插件）</strong></h2>
		<p class="blue">
			$(obj).soShare({ <br />
			&nbsp;&nbsp;&nbsp;&nbsp;space : ['sina','qq','qZone','renren','kaixin','douban'], <span class="green">// 分享平台，可选，分享按钮顺序为数组顺序，不填或者为 'all' 默认为所有分享平台</span><br />
			&nbsp;&nbsp;&nbsp;&nbsp;url : location.href, <span class="green">// 分享链接，默认为当前页面地址栏地址</span><br />
			&nbsp;&nbsp;&nbsp;&nbsp;title : encodeURIComponent($('title').text()), <span class="green">// 分享标题，默认为当前页面标题</span><br />
			&nbsp;&nbsp;&nbsp;&nbsp;pic : null, <span class="green">// 分享图片，直接给图片路径，否则根据平台默认有或无</span><br />
			&nbsp;&nbsp;&nbsp;&nbsp;content :null <span class="green">// 分享内容</span><br />
			});<br />
		</p>
	</div>
	<div class="eachBox">

		<p><span class="s-share">分享到：</span></p>

	</div>
</div>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/soShare.js"></script>
<script type="text/javascript">
	$('.s-share').soShare({
		space : ['sina','qq','qZone','renren','douban'],//['sina','qq','qZone','renren','kaixin','douban']  || 'all'
		url : 'http://hi.baidu.com/bujichong',
		title : encodeURIComponent('分享测试'),
		pic : null,
		content :'分享测试'
	});
</script>

<script type="text/javascript">
//ga
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-56955204-1', 'auto');
  ga('send', 'pageview');

//baidu
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?91f551b2f68716f7104f1c46a09b74af";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();

</script>

</body>
</html>